package com.sp.pay.mapper.company;


import com.sp.pay.dto.QueryDto;
import com.sp.pay.dto.company.CompanyDto;
import com.sp.pay.dto.company.CompanyParameterDto;

import java.util.List;

public interface CompanyMapper {

    public void insert(CompanyDto dto);

    public void update(CompanyDto dto);

    public void delete(int id);

    public CompanyDto findById(int id);

    public CompanyDto queryS_Company(String company_num);

    public CompanyDto queryP_Company(String company_num);

    public List<CompanyDto> query(QueryDto<CompanyDto> queryDto);

    public CompanyParameterDto queryS_Para(String company_num);

    public CompanyParameterDto queryP_Para(String company_num);

    public void insertPara(CompanyParameterDto companyParameterDto);

    public void updatePara(CompanyParameterDto companyParameterDto);
}
